package com.example.boot.dlgoodspic.dao;

import java.util.List;

import com.example.boot.dlgoodspic.model.DlGoodsPic;

public interface DlGoodsPicMapper {
	int deleteByPrimaryKey(String id);

	int insert(DlGoodsPic record);

	int insertSelective(DlGoodsPic record);

	DlGoodsPic selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(DlGoodsPic record);

	int updateByPrimaryKey(DlGoodsPic record);

	/**
	 * 查找图片
	 * 
	 * @param goodsId
	 * @return
	 */
	String byGoodsIdFindPic(String goodsId);

	/**
	 * 查找所有图片
	 * 
	 * @param goodsId
	 * @return
	 * @throws Exception
	 */
	List<DlGoodsPic> byGoodsIdFindAllPic(String goodsId) throws Exception;
}